package com.vonchenchen.usbmuxd_android.custom.testcmd;

/**
 * Created by lidechen on 10/24/16.
 */

public class NetHeader {
    public byte magic1;//
    public byte magic2;
    public byte version;
    public byte type;

    public static final int size = 4;

    public byte[] getByteArray(){
        byte[] data = new byte[4];

        data[0] = magic1;
        data[1] = magic2;
        data[2] = version;
        data[3] = type;

        return data;
    }
}
